package com.techstar.ats.codec.history.decoder;

import io.netty.buffer.ByteBuf;
import com.techstar.ats.codec.MessageDecoder;
import com.techstar.ats.dxp.history.AbstractReport;

public interface ReportDecoder<T extends AbstractReport> extends MessageDecoder<T> {
	default void decode(ByteBuf buf, T value) {
		value.line = buf.readUnsignedShort();
		value.report = buf.readUnsignedShort();
	}
}
